package top.iflyoung.cim.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import top.iflyoung.cim.biz.entity.ChatGroup;

/**
 * @author liguiyang
 * @description 聊天组的Mapper
 * @sine 1.8
 * @date 2021/9/222:32
 **/
public interface ChatGroupMapper extends BaseMapper<ChatGroup> {
    /**
     * 插入并返回ID
     * @param group
     * @return
     */
    Long insertAndGetId(@Param(value = "chatGroup") ChatGroup group);
}
